package com.yqya.alibaba.nacos.discovery.client.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 示例feign客户端
 *
 * @author Kevin
 * @date 2019-07-08
 */
@FeignClient("alibaba-nacos-discovery-server")
public interface HelloFeignClient {

    @GetMapping("/hello")
    String hello(@RequestParam("name") String name);

}
